package com.platform.dao;

import com.platform.entity.OpenShopVo;
import com.platform.entity.ShopVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhanghao
 */
public interface ApiShopMapper extends BaseDao<ShopVo> {

    List<ShopVo> queryShopList(@Param("buildingId") Integer buildingId, @Param("type") String type);

    ShopVo queryByUserId(@Param("userId") Integer userId);

    ShopVo queryById(@Param("shopId") Integer shopId);

    int openShop(OpenShopVo openShopVo);

    int motifyShopInfo(ShopVo shopVo);
}
